/*******************************导航栏*******************************/
var $searchText;
var $searchNet;

function searchNetOther(num) {
	getSearchText();/*searchModule的js中的函数*/

	if (num == 0) $searchNet = "https://www.baidu.com/s?ie=UTF-8&wd=" + $searchText;
	else if (num == 1) $searchNet = "https://www.baidu.com/s?rtt=1&bsst=1&cl=2&tn=news&ie=utf-8&word=" + $searchText;
	else if (num == 2) $searchNet = "https://www.baidu.com/sf/vsearch?pd=video&tn=vsearch&lid=a5efbb9b0012f7da&ie=utf-8&wd=" + $searchText;
	else if (num == 3) $searchNet = "https://image.baidu.com/search/index?tn=baiduimage&ps=1&ct=201326592&lm=-1&cl=2&nc=1&ie=utf-8&word=" + $searchText;
	else if (num == 4) $searchNet = "https://zhidao.baidu.com/search?ct=17&pn=0&tn=ikaslist&rn=10&lm=0&ie=utf-8&word=" + $searchText;
	else if (num == 5) $searchNet = "https://wenku.baidu.com/search?word=" + $searchText;
	else if (num == 6) $searchNet = "https://tieba.baidu.com/f/search/res?qw=" + $searchText;
	else if (num == 7) $searchNet = "https://map.baidu.com/?newmap=" + $searchText;
	else alert("出错了!");

	window.open($searchNet);
}
